package com.project.rfidpage.service;

import com.project.rfidpage.dto.RidTidMaintenanceParam;
import com.project.rfidpage.dto.RidTidMaintenanceRecordDto;
import com.project.rfidpage.dto.TidMaintenanceDto;
import com.project.rfidpage.entity.TidMaintenance;
import com.project.rfidpage.entity.TidMaintenanceRecord;

import java.util.List;

public interface TidMaintenanceService {

    List<TidMaintenanceDto> getListForPage(RidTidMaintenanceParam param);

    List<RidTidMaintenanceRecordDto> getRecordListForPage(RidTidMaintenanceParam param);

    List<TidMaintenance> getById(Long id);

    void insert(TidMaintenance entity);

    void update(TidMaintenance entity, Long idBefore);

    void insertRecord(TidMaintenanceRecord entity);
}
